<template>
  <div class="Executor">
      <span class="tit">{{ content.tasktit }}</span>
      <span class="level">lv{{ content.lvnum }}</span>
  </div>
</template>

<script>
export default {
  name: 'Executor',
  data() {
    return {
      content: {
        tasktit: '任务名称',
        lvnum: 1
      }
    };
  }
};
</script>

<style lang="less" scoped>
.Executor{
  margin-top: -1px;
  background: white;
  width: 98%;
  box-shadow: 0px 1px 3px 0px rgba(153, 153, 153, 0.5), 1px -1px 3px 0px rgba(153, 153, 153, 0.5);
  text-align: center;
  padding: 20px;
  margin-bottom: 20px;
  .tit{
      font-size: 20px;
      font-weight: 400;
      color: #111;
  }
  .level{
      height: 18px;
      width: 55px;
      background-color: #e8f8ec;
      text-align: center;
      line-height: 18px;
      display: inline-block;
      margin-left: 15px;
      color: #555;
  }
}
</style>
